package com.icangya.DAO;

import com.icangya.domain.FbUserAwardRecord;

import java.util.List;


public interface IFbUserAwardRecordDAO extends IBaseDAO<FbUserAwardRecord> {

    /**
     * 根据奖励id，查询用户奖励
     * @param awardId
     * @return
     */
    FbUserAwardRecord getUserAwardById(long  awardId,String openId);

    //获取用户所有任务奖励记录
    List<FbUserAwardRecord> getUserAwardRecord(String openId);

}
